.detail-panel {
  position: relative;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  .detail-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #fafafa;
    border-bottom: 1px solid #e8e8e8;
    min-height: 48px;

    .detail-panel-title {
      font-size: 16px;
      font-weight: 500;
      color: #262626;
      flex: 1;
      margin: 0;
    }

    .detail-panel-close {
      background: none;
      border: none;
      font-size: 18px;
      color: #8c8c8c;
      cursor: pointer;
      padding: 4px;
      border-radius: 4px;
      transition: all 0.2s;
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-left: 8px;

      &:hover {
        background: #f0f0f0;
        color: #595959;
      }

      &:active {
        background: #e6e6e6;
      }
    }
  }

  .detail-panel-content {
    padding: 16px;
    color: #595959;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

// 响应式设计
@media (max-width: 768px) {
  .detail-panel {
    .detail-panel-header {
      padding: 10px 12px;
      min-height: 44px;

      .detail-panel-title {
        font-size: 14px;
      }
    }

    .detail-panel-content {
      padding: 12px;
    }
  }
} 